package code.snippet.demo

import code.snippet.LiftComponentSnippet
import bs.{Link, Pagination, Alert}

object PaginationDemo extends LiftComponentSnippet[Pagination]{
  override val component = Pagination(
    Link("上一页", "/page0.html") +: (1 to 8).map(i => Link(i.toString, s"/page$i.html")) :+ Link("下一页", "/page100.html") :_*
  )
}
